using UnityEngine;
using System.Collections;

public class CreateCones : MonoBehaviour {
	public GameObject Cone1;
	// Use this for initialization
	void Start ()
	{

	}

	// Update is called once per frame
	void Update ()
	{
		if (Input.GetKeyDown (KeyCode.Space)) {
			Instantiate (Cone1, transform.position + new Vector3 (0, 0f, -8.1f), Quaternion.identity);
		}
	}
}
